<!DOCTYPE html>
<html>
    
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"
        />
        <meta name="apple-mobile-web-app-title" content="Modown">
        <meta http-equiv="Cache-Control" content="no-siteapp">
        <title>{$c['title']} - {:cms('title')}</title>
        <meta name="keywords" content="{$c['keywords']}">
        <meta name="description" content="{:htmltext($c['description'])}">
        {include file="header"}
        <article style="position: relative;">
            <div class="left-box">
                <div class="whitebg">
                    <div class="news-title">
                        <span class="weizhi">
                            您现在的位置是：
                            <a href="/">
                                首页
                            </a>
                            {if condition="fun_st('cate',array('id'=>fun_sc_p('cate', array('id'=>$c['tid']), 'tid'))) gt '0'"}
                            &nbsp;&gt;&nbsp;
                            <a href="*URL*/m_{:fun_sc_p('cate', array('id'=>fun_sc_p('cate', array('id'=>$c['tid']), 'tid')), 'alias')}.html">
                                 {:fun_sc_p('cate', array('id'=>fun_sc_p('cate', array('id'=>$c['tid']), 'tid')), 'name')}
                            </a>
                            {/if}
                            {if condition="fun_st('cate',array('id'=>$c['tid'])) gt '0'"}
                            &nbsp;&gt;&nbsp;
                            <a href="*URL*/m_{:fun_sc_p('cate', array('id'=>$c['tid']), 'alias')}.html">
                                 {:fun_sc_p('cate', array('id'=>$c['tid']), 'name')}
                            </a>
                            {/if}
                        </span>
                        
                        <h2>
                            {:fun_sc_p('cate', array('id'=>$c['tid']), 'name')}
                        </h2>
                    </div>
                    <div class="newstext-box">
                        <div class="down-view">  <i><img src="{$c.pic}"  onerror="this.src='*ADMIN*/img/pic.jpg';"></i>    
                        <h1 class="news-title-h1">
                        	{$c.title}
                            <button type="button" class="layui-btn layui-btn-normal layui-btn-xs chufa115cms shoucang" res="2" code="1" url="{:url('api/api/shoucang',array('id'=>$id,'m'=>$c['model']))}">
                            	{if condition="fun_st('shoucang', array('tid'=>$id,'model'=>$c['model'],'uid'=>session('userid'),'fl'=>1)) neq '0'"} 收藏成功{else /}收藏{/if}
                            </button>
                        </h1>
                        <span class="down-info">
                        	{volist name=":fun_s('model_ziduan',array('open1'=>1,'tid'=>$c['model']),'px desc',30,1)" id="vo"}
                        	{if condition="socha(fun_sc_p('model_ziduan_l', array('dianji'=>fun_sc_p(m($c.model), array('id'=>$c.id), fun_sc_p('model_ziduan', array('tid'=>$c.model,'liandong'=>1), 'name'))), 'yingchang'),$vo.name) neq '1'"}
                        	{$vo.title}：<em>{$c[$vo.name]}</em>
                        	{/if}
                        	{/volist}
                        </span> 
                        	<span class="btn-blue"><a href="#down">立即下载</a>
                        </span> 
                        </div>
                        <div class="picview-other">
                            <span class="po-date">
                                {$c.time|timeinfo}
                            </span>
                            <span class="po-classname">
                                {:fun_sc_p('cate', array('id'=>$c['tid']), 'name')}
                            </span>
                            <span class="po-view">
                                {$c.view}
                            </span>
                        </div>
                        <div class="smalltext">
                            <i>
                            </i>
                            {empty name="$c.description"}{:htmltext(cut($c['content'],100))}{else /}{$c.description}{/empty}
                        </div>
                        <div class="newstext">
                           {$c['content']|htmlspecialchars_decode}
                        </div>
                        
                        <div class="keywords">
                        	{volist name=":exps($c['keywords'])" id="v"}
                            <a href="{if condition="config('web.WEIJINGTAI')==0"}/index.php?s={/if}/tag_{$h}_{$v}" target="_blank">
                                {$v}
                            </a>
                            {/volist}
                        </div>
                        <div class="diggit">
                            <a href="JavaScript:;" class="chufa115cms" res="1" code="1" url="{:url('api/api/zan',array('id'=>$id,'m'=>$c['model']))}">
                                很赞哦！
                            </a>
                            (
                            <b class="dianzan">{$c['zan']}</b>
                            )
                        </div>
                        <div class="clear">
                        </div>
                        <div class="share" id="down">
                            <div class="share-text">
                                <p>
                                    转载请说明来源于"{:cms('title')}"
                                </p>
                                <p>
                                    本文地址：
                                    <a href="{:get_url()}" target="_blank">
                                        {:get_url()}
                                    </a>
                                </p>
                            </div>
                        </div>
                        <div class="clear">
                        </div>
                        <div class="info-pre-next">
                            <ul>
                            	<li>
                            	{volist name=":fun_sx($h,array('open'=>1,'tid'=>$c['tid']),$c['id'],1)" id="vo" empty="<div align='center' style='padding: 29px 0px 29px 0px;border: 2px solid #f1f1f1;'>已是第一篇</div>"}
                                    <a href="*URL*/s_{:m($vo['model'])}_{$vo.id}.html">
                                        <i>
                                            <em>
                                                上一篇
                                            </em>
                                            <img src="{$vo.pic}" onerror="this.src='*ADMIN*/img/pic.jpg';">
                                        </i>
                                        <h2>
                                            {$vo.title}
                                        </h2>
                                        <p>
                                            {empty name="$vo.description"}{:htmltext(cut($vo['content'],100))}{else /}{$vo.description}{/empty}
                                        </p>
                                    </a>
                                {/volist}
                                </li>
                                <li>
                            	{volist name=":fun_sx($h,array('open'=>1,'tid'=>$c['tid']),$c['id'],0)" id="vo" empty="<div align='center' style='padding: 29px 0px 29px 0px;border: 2px solid #f1f1f1;'>最后一篇了</div>"}
                                    <a href="*URL*/s_{:m($vo['model'])}_{$vo.id}.html">
                                        <i>
                                            <em>
                                                下一篇
                                            </em>
                                            <img src="{$vo.pic}" onerror="this.src='*ADMIN*/img/pic.jpg';">
                                        </i>
                                        <h2>
                                            {$vo.title}
                                        </h2>
                                        <p>
                                            {empty name="$vo.description"}{:htmltext(cut($vo['content'],100))}{else /}{$vo.description}{/empty}
                                            
                                        </p>
                                    </a>
                                {/volist}
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="clear blank">
                </div>  
                <div class="down-links whitebg">
                	<div class="news-title">
                	   	<h2>下载地址</h2>
                	</div>
                	<ul>
                    {if condition="$fufei eq '1'"}
                        <!--需要付费-->
                        <a href="javascript:;" class="chufa115cms_t" style="display: block;line-height: 60px;text-align: center; font-size: 16px;font-weight: 300;color: #ff5501;background-color: #f6f6f6;border: 2px solid #ff5501;border-radius: 5px;" code="1" title="确定要付费{$c['jifen']}{:cms('mingpoint')}查看下载地址吗？" url="{:url('api/api/fufei',array('id'=>$id,'m'=>$c['model']))}">
                             付费{$c['jifen']}{:cms('mingpoint')}查看下载地址
                        </a>
                    {else /}
                    <!--不需要付费-->
                	{volist name=":fun_s('model_ziduan',array('class'=>0,'open4'=>0,'tid'=>$c['model']),'px desc',30,1)" id="vo"}
                    {if condition="socha(fun_sc_p('model_ziduan_l', array('dianji'=>fun_sc_p(m($c.model), array('id'=>$c.id), fun_sc_p('model_ziduan', array('tid'=>$c.model,'liandong'=>1), 'name'))), 'yingchang'),$vo.name) neq '1'"}
                	 	<li>
                	 		<a href="{$c[$vo.name]}" target="_blank"><span>{$vo.title}</span>{$c.title}</a>
                	  	</li>
                	{/if}
                   	{/volist}
                   	{/if}
                	</ul>
                </div>
                <div class="clear blank">
                </div>
                <div class="down-otherlink whitebg">
                    <div class="news-title">
                        <h2>同类软件</h2>
                    </div>
                    <ul>
                    	{volist name=":fun_ks($h,'keywords',sjsz($c['keywords']),array('model'=>$c['model']),6)" id="vo"}
                        <li>
                        	<a href="*URL*/s_{:m($vo['model'])}_{$vo.id}.html" target="_blank">
                       	    <i><img src="{$vo.pic}"  onerror="this.src='*ADMIN*/img/pic.jpg';"></i>
                              <p>{$vo.title}</p>
                              <span class="down-info">
                              	{volist name=":fun_s('model_ziduan',array('open3'=>1,'tid'=>$vo['model']),'px desc',30,1)" id="v"}
                              	{$v.title}：<em>{$vo[$v.name]}</em>
                                {/volist}
                              </span>
                            </a>
                        </li>
                       	{/volist}
                    </ul>
                </div>
                {:ad(10)}
                <!-- 评论 开始 -->
                 {include file="app/template/pc/default_pc/pinglun.html"}
                <!-- 评论 结束 -->
            </div>
            <aside class="side-section right-box" style="position: static; left: auto; width: 320px;">
            	{if condition="cmspc('cms11') eq 1"}
            	<div class="whitebg tuijian">
                    <h2 class="side-title">
                        会员信息
                    </h2>
                    <div class="athuor-info layui-clear">
                        <a href="*URL*/uid_{$c['uid']}.html" target="_blank">
                            <img src="{:fun_sc_p('member', array('userid'=>$c['uid']), 'userhead')}" onerror="this.src='/public/img/touxiang.jpg';">
                            <div class="nick">
                                <h3>{:fun_sc_p('member', array('userid'=>$c['uid']), 'username')}</h3>
                                <span>
                                	{empty name=":fun_sc_p('member', array('userid'=>$c['uid']), 'description')"}
                                	初来乍到，请多关照
                                	{else /}
                                	{:cut(fun_sc_p('member', array('userid'=>$c['uid']), 'description'),28)}
                                	{/empty}
                                </span>
                            </div>
                        </a>
                        <div class="data">
                            <div class="layui-clear">
                                <span>投稿{:fun_sc_p('model', array('id'=>$c['model']), 'title')}</span>
                                <span>通过</span>
                                <span>获赞</span>
                            </div>
                            <div class="number layui-clear">
                                <span>{:fun_st($h,array('uid'=>$c['uid']))}</span>
                                <span>{:fun_st($h,array('open'=>1,'uid'=>$c['uid']))}</span>
                                <span class="allhz">{:fun_st('zan',array('open'=>1,'suid'=>$c['uid'],'fl'=>1))}</span>
                            </div>
                        </div>
                        <div class="btn">
                            <a href="http://wpa.qq.com/msgrd?v=3&uin={:fun_sc_p('member', array('userid'=>$c['uid']), 'userqq')}&site=qq&menu=yes" target="_blank"><i class="iconfont icon-QQ"></i>联系作者</a>
                            <a href="*URL*/uid_{$c['uid']}.html" target="_blank">他的主页</a>
                        </div>
                    </div>
                </div>
                <div class="clear blank">
                </div>
                {/if}
                <div class="whitebg down-tuijian">
                  <h2 class="side-title">站长推荐</h2>
                  <ul>
                  	{volist name=":fun_s($h,array('open'=>1,'tid'=>$c['tid'],'settop'=>1),'view desc',9,1)" id="vo" empty="<div align='center' style='padding: 100px 0px 100px 0px;'>暂时没有数据</div>"}
                    <li><a href="*URL*/s_{:m($vo['model'])}_{$vo.id}.html" title="{$vo.title}" target="_blank"><i>
                    	<img src="{$vo.pic} " alt="{$vo.title}" onerror="this.src='*ADMIN*/img/pic.jpg';"></i>
                      <p>{$vo.title}</p>
                      </a></li>
                    <li>
                    	{/volist} 
                  </ul>
                </div>
                <div class="clear blank">
                </div>
                <div class="whitebg down-paihang">
                	 <h2 class="side-title">点击排行</h2>
                	 <ul>
                	 	 {volist name=":fun_s($h,array('open'=>1,'tid'=>$c['tid']),'view desc',8,1)" id="vo"}
                	     <li><i></i><a href="*URL*/s_{:m($vo['model'])}_{$vo.id}.html" title="{$vo.title}" target="_blank">{$vo.title}</a></li>
                	     {/volist}
                	 </ul>
                </div>

                <div class="clear blank">
                </div>
                <div class="whitebg down-suiji">
                	<h2 class="side-title">猜你喜欢</h2>
                	<ul>
                		{volist name=":fun_sj($h,array('open'=>1,'model'=>$c['model'],'tid'=>$c['tid']),10)" id="vo"}
                        <li>
                        	<a href="*URL*/s_{:m($vo['model'])}_{$vo.id}.html" target="_blank">
                       	    <i><img src="{$vo.pic}"  onerror="this.src='*ADMIN*/img/pic.jpg';"></i>
                              <p>{$vo.title}</p>
                              <span class="down-info">
                              	{volist name=":fun_s('model_ziduan',array('open3'=>1,'tid'=>$vo['model']),'px desc',30,1)" id="v"}
                              	{$v.title}：<em>{$vo[$v.name]}</em>
                                {/volist}
                              </span>
                            </a>
                        </li>
                       	{/volist} 
                    </ul>
               </div>
            </aside>
        </article>
        <div class="clear blank">
        </div>
        <!--系统预留插件钩子请保留内容模型-->
        {:h('showpc')}
        {include file="footer"}